import request from "@/util/request";

/**
 * @description 投诉
 * @param data
 * @returns {Promise}
 */
export function insertReport(data) {
	return request({
		url: '/insertReport',
		method: 'POST',
		data
	})
}
/**
 * @description 查询投诉分类
 * @param data
 * @returns {Promise}
 */
export function getReportClassListApi(data) {
	return request({
		url: '/getReportClassList',
		method: 'GET',
		data
	})
}
